package com.shop.vuedemo.test;

import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

/**
 * projectName: vueDemo
 * create on 2021/11/21 0:20
 *
 * @author yanbl
 * @Description :在springboot启动之前执行方法的方式
 */
@Configuration
public class BeforeRunningSpringBoot {

    @PostConstruct
    public void test() {
        System.out.println("yanbl是个大帅哥");
    }
}
